#pragma once
#include "afxtempl.h"

struct HTMITEM
{
	int item_index;
	CString item_id;
	CString item_name;
};

class CHTMList :
	public CList<HTMITEM,HTMITEM>
{
public:
	CHTMList(void);
	virtual ~CHTMList(void);
private:
	POSITION m_currPosition;
public:
	bool StartOver(void);
	bool IsFirst(void);
	bool IsLast(void);
	HTMITEM GetNext(void);
	HTMITEM GetPrev(void);
	CString GetCurrentID(void);
	CString GetCurrentFilePath(void);
	int GetCurrentIndex(void);
};

